package com.itqf.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Service {
    private String userid;

    private Integer serviceid;

    private String userService;
    @JsonFormat(pattern = "yyyy-MM-dd HH-mm-ss")
    private Date userServicetime;

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public Integer getServiceid() {
        return serviceid;
    }

    public void setServiceid(Integer serviceid) {
        this.serviceid = serviceid;
    }

    public String getUserService() {
        return userService;
    }

    public void setUserService(String userService) {
        this.userService = userService == null ? null : userService.trim();
    }

    public Date getUserServicetime() {
        return userServicetime;
    }

    public void setUserServicetime(Date userServicetime) {
        this.userServicetime = userServicetime;
    }
}